.class Lcom/youdao/note/activity/MailShareActivity$11;
.super Ljava/lang/Object;
.source "MailShareActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/youdao/note/activity/MailShareActivity;->initListener()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/youdao/note/activity/MailShareActivity;


# direct methods
.method constructor <init>(Lcom/youdao/note/activity/MailShareActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 246
    iput-object p1, p0, Lcom/youdao/note/activity/MailShareActivity$11;->this$0:Lcom/youdao/note/activity/MailShareActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/view/View;)V
    .locals 4
    .parameter "v"

    .prologue
    .line 249
    iget-object v2, p0, Lcom/youdao/note/activity/MailShareActivity$11;->this$0:Lcom/youdao/note/activity/MailShareActivity;

    const v3, 0x7f07007a

    invoke-virtual {v2, v3}, Lcom/youdao/note/activity/MailShareActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/EditText;

    .line 250
    .local v0, et:Landroid/widget/EditText;
    invoke-virtual {v0}, Landroid/widget/EditText;->getText()Landroid/text/Editable;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/Object;->toString()Ljava/lang/String;

    move-result-object v1

    .line 251
    .local v1, title:Ljava/lang/String;
    if-eqz v1, :cond_0

    invoke-virtual {v1}, Ljava/lang/String;->trim()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v2}, Ljava/lang/String;->length()I

    move-result v2

    if-nez v2, :cond_1

    .line 252
    :cond_0
    iget-object v2, p0, Lcom/youdao/note/activity/MailShareActivity$11;->this$0:Lcom/youdao/note/activity/MailShareActivity;

    const/4 v3, 0x3

    invoke-virtual {v2, v3}, Lcom/youdao/note/activity/MailShareActivity;->showDialog(I)V

    .line 256
    :goto_0
    return-void

    .line 254
    :cond_1
    iget-object v2, p0, Lcom/youdao/note/activity/MailShareActivity$11;->this$0:Lcom/youdao/note/activity/MailShareActivity;

    #calls: Lcom/youdao/note/activity/MailShareActivity;->checkEmails()V
    invoke-static {v2}, Lcom/youdao/note/activity/MailShareActivity;->access$100(Lcom/youdao/note/activity/MailShareActivity;)V

    goto :goto_0
.end method
